import api from '@/api/api.js'
import request from '@/utils/request.js'


// 获取经销商列表
export function getDealers(data) {
  return request({
    url: api.activity.dealers,
    method: 'GET',
    params: data
  })
}

// 获取车型
export function getModelList() {
  return request({
    url: api.activity.models,
    method: 'GET'
  })
}

// 奖品数量
export function getPrizeInfo(data) {
  return request({
    url: api.activity.prizeInfo,
    method: 'GET',
    params: data
  })
}

export function prizeVerify(data) {
  return request({
    url: api.activity.prizeVerify,
    method: 'POST',
    data
  })
}


